Client and Server Synchronization Expressed in Types
نویسنده
چکیده
Synchronization based on semaphores, monitors, or atomic actions is in general not visible through object types. Often we use unnecessary or even conflicting synchronization in clients and servers because of missing information. Process types – a kind of behavioral types – solve this problem so far only partially: Types specify synchronization required from clients, but they hide the servers’ synchronization. In this paper we propose a solution based on dynamic token management (in addition to static token management already existing in process types). This approach extends conventional object types in a straightforward way, supports subtyping under consideration of synchronization, ensures racefree programs, and still does not expose implementation details to clients.
منابع مشابه
Computer Network Time Synchronization using a Low Cost GPS Engine
Accurate and reliable time is necessary for financial and legal transactions, transportation, distribution systems, and many other applications. Time synchronization protocols such as NTP (the Network Time Protocol) have kept clocks of such applications synchronized to each other for many years. Nowadays there are many commercial GPS based NTP time server products at the market but they almost ...
متن کاملA Novel Method for VANET Improvement using Cloud Computing
In this paper, we present a novel algorithm for VANET using cloud computing. We accomplish processing, routing and traffic control in a centralized and parallel way by adding one or more server to the network. Each car or node is considered a Client, in such a manner that routing, traffic control, getting information from client and data processing and storing are performed by one or more serve...
متن کاملTransaction Synchronization for XML Data in Client-Server Web Applications
Whenever database centered client-server web applications have to be used by multiple web clients on different platforms, then recently XML has been considered as an important data exchange format. If multiple web clients modify their XML copy of some server side database data, then writing this modifications back to the server side database requires transaction synchronization. We present a tr...
متن کاملSynchronized Multicast Media Streaming employing Server-Client Coordinated Adaptive Playout and Error Control
A new inter-client synchronization framework employing a server-client coordinated adaptive playout and error control toward one-to-many (i.e., multicast) media streaming is discussed in this paper. The proposed adaptive playout mechanism controls the playout speed of audio and video by adopting the time-scale modification of audio. Based on the overall synchronization status as well as the buf...
متن کاملSynchronized One-to-many Media Streaming employing Server-Client Coordinated Adaptive Playout Control
& h 6 £ x+ þ A F Ò q t] j# Q\ ¦ s 6 xô Ç 1 l xl o) a { 9 @ / p n # Q Û ¼à Ôo b ç Abstract A new inter-client synchronization framework for one-to-many (i.e., multicast) media streaming is proposed employing a server-client coordinated adaptive playout control. The proposed adaptive player controls the playback speed of audio and video by adopting the timescale modification of audio. Based on t...
متن کامل